﻿<%@ Page Language="C#" MasterPageFile="~/A_LetsDeal-DoanhNghiep/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="A_LetsDeal_DoanhNghiep_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<%if (Session["username_dn"] == null)
  { %>
<fieldset>
    <legend>Đăng nhập</legend>
    Tên đăng nhập<br />
    <asp:TextBox ID="txt_username" runat="server"></asp:TextBox>
    <br />
    Mật khẩu<br />
    <asp:TextBox ID="txt_pwd" runat="server" TextMode="Password"></asp:TextBox>
    <br />
    <asp:Button ID="bt_login" Text="Đăng nhập" runat="server" 
        onclick="bt_login_Click"/><br />
    <font color="red"><asp:Literal ID="lit_error" runat="server"></asp:Literal></font>
</fieldset>
<%}
  else
  { %>
<fieldset>
    <legend>Thông tin cá nhân</legend>
    <div style="font-size:small;">
    <span style="color:Blue;font-weight:bold;">Tên doanh nghiệp:</span><br /><font color="red"><asp:Literal ID="lit_tendn" runat="server"></asp:Literal></font><br />
    <span style="color:Blue;font-weight:bold;">Số sản phẩm tham gia Let's Deal: </span><font color="red"><asp:Literal ID="lit_sosp" runat="server"></asp:Literal></font><br />
    <asp:HyperLink ID="hyp_thoat" runat="server" Text="Đăng xuất" NavigateUrl="dangxuat.aspx"></asp:HyperLink>
    </div>
</fieldset>
<%} %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<h1 style="font-family:Arial;font-size:large;color:Blue;padding-left:10px;">Thống kê hệ thống hôm nay</h1>
    <table style="margin-left:50px;border:double 2px blue;" width="600px">
        <tr>
            <td colspan="2"  style="border:solid 1px blue;">
            <h1 style="font-family:Arial;font-size:small;color:Blue;padding-left:10px;">Doanh nghiệp</h1>
            </td>
        </tr>
        <tr>
            <td style="width:70%;border:solid 1px blue;">Số doanh nghiệp tham gia Let's Deal</td>
            <td style="padding-left:10px;text-align:center;border:solid 1px blue;">
                <asp:Literal ID="Literal1" runat="server"></asp:Literal></td>
        </tr>
        <tr>
            <td style="border:solid 1px blue;">Doanh nghiệp mới tham gia Let's Deal</td>
            <td style="padding-left:10px;text-align:center;border:solid 1px blue;">
                <asp:Literal ID="Literal2" runat="server"></asp:Literal></td>
        </tr>
         <tr>
            <td colspan="2" style="border:solid 1px blue;">
            <h1 style="font-family:Arial;font-size:small;color:Blue;padding-left:10px;">Sản phẩm</h1>
            </td>
        </tr>
        <tr>
            <td style="border:solid 1px blue;">Số sản phẩm đang có trong dữ liệu Let's Deal</td>
            <td style="padding-left:10px;text-align:center;border:solid 1px blue;">
                <asp:Literal ID="Literal3" runat="server"></asp:Literal></td>
        </tr>
        <tr>
            <td style="border:solid 1px blue;">Số sản phẩm đang 'Open'</td>
            <td style="padding-left:10px;text-align:center;border:solid 1px blue;">
                <asp:Literal ID="Literal4" runat="server"></asp:Literal></td>
        </tr>
        <tr>
            <td style="border:solid 1px blue;">Số sản phẩm đang 'Close'</td>
            <td style="padding-left:10px;text-align:center;border:solid 1px blue;">
                <asp:Literal ID="Literal5" runat="server"></asp:Literal></td>
        </tr>
        <tr>
            <td style="border:solid 1px blue;">Số sản phẩm đang 'Cháy Hàng'</td>
            <td style="padding-left:10px;text-align:center;border:solid 1px blue;">
                <asp:Literal ID="Literal6" runat="server"></asp:Literal></td>
        </tr>
        <tr>
            <td style="border:solid 1px blue;">Số sản phẩm đang 'Hết Hạn'</td>
            <td style="padding-left:10px;text-align:center;border:solid 1px blue;">
                <asp:Literal ID="Literal7" runat="server"></asp:Literal></td>
        </tr>
    </table>
<div style="height:150px;"></div>
</asp:Content>

